﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web.backStage.file
{
    public partial class searchVideo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["keyType"] == null)
            {
                return;
            }

            int totalItemNum = BLL.videoLib.VideoManager.FillBSSearchTable(Table1, Request.QueryString["keyType"], Request.QueryString["keyWord"], Int32.Parse(Request.QueryString["pageNo"]));
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Redirect("./searchVideo.aspx?keyType=" + KeyTyepList.SelectedValue + "&keyWord=" + KeyWordTxt.Text + "&pageNo=1");
        }
    }
}